import { defineStore } from 'pinia'

interface tokeListData {
  visible: Boolean
  tableData: any[]
  // menuRoutes: RouteRecordRaw[]
}

export const useDrawerStore = defineStore('drawer', {
  state(): tokeListData {
    return {
      visible: false,
      tableData: []
    }
  },
  actions: {
    async changeVisible(item: any) {
      this.visible = item
    },

    async getInfo() {},

    async reset() {},

    async logout() {}
  }
})
